package com.example.event_resource_java.authority.dao.StatisticDao;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName CourseLearnDao
 * @Description: 课程学习
 * @Author: ak
 * @CreateDate: 2024/4/20 13:51
 * @UpdateUser:
 * @UpdateDate: 2024/4/20 13:51
 * @UpdateRemark:
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseLearnDao {
    @TableId
    private Long id;

    private Long courseId;

    private Long userId;

    /** 完成数 */
    private Integer completionNumber;

    /** 总时长 单位：秒*/
    private Long totalDuration;

    /** 练习成绩 */
    private Integer practiceScores;

    /** 考试成绩 */
    private Integer testScore;

    /** 通过状态 0 通过 1 未通过 9 已删除 */
    private Integer state;
}
